package com.yqg.protection.controller.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yqg.protection.cover.ClientStateConverter;
import lombok.Data;

/**
 * projectName:xf-service1
 * author:zxf
 * time:2024/10/10 16:10
 * description:
 */
@Data
public class ImportClientDto {

    @ExcelProperty(value = "组织ID(必填)", index = 0)
    private Long organization;

    @ExcelProperty(value = "地址", index = 1)
    private String address;

    @ExcelProperty(value = "单位名称(必填)", index = 2)
    private String name;

    @ExcelProperty(value = "单位照片", index = 3)
    private String photo;

    @ExcelProperty(value = "单位logo", index = 4)
    private String logo;

    @ExcelProperty(value = "点位图", index = 5)
    private String pointMap;

    @ExcelProperty(value = "单位状态(0正常，1冻结，2暂停使用)(必填)", index = 6, converter = ClientStateConverter.class)
    private String state;

    @ExcelProperty(value = "说明", index = 7)
    private String explanation;

    @ExcelProperty(value = "联系人(必填)", index = 8)
    private String linkman;

    @ExcelProperty(value = "接警人", index = 9)
    private String dispatcher;

    @ExcelProperty(value = "接警领导", index = 10)
    private String dispatchSupervisor;

    @ExcelProperty(value = "值班员", index = 11)
    private String receptionist;

    @ExcelProperty(value = "联系人电话(必填)", index = 12)
    private String teleLinkman;

    @ExcelProperty(value = "接警人电话", index = 13)
    private String teleDispatcher;

    @ExcelProperty(value = "接警领导电话", index = 14)
    private String teleDispatchSupervisor;

    @ExcelProperty(value = "值班员电话", index = 15)
    private String teleReceptionist;

    @ExcelProperty(value = "经度", index = 16)
    private String longitude;

    @ExcelProperty(value = "纬度", index = 17)
    private String latitude;

    @ExcelProperty(value = "上级单位ID", index = 18)
    private Long pcId;

    @ExcelProperty(value = "物联云API密钥", index = 19)
    private String monitorkey;
}
